﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Legazpi.Payroll.DataAccess.DataObjects;

namespace Legazpi.Payroll.BusinessLogic.Services.Interfaces
{
    public interface IPayrollSummaryService
    {
        PayrollSummary GetById(int id);
        IEnumerable<PayrollSummary> GetAll();
        IQueryable<PayrollSummary> GetAllByQuery();
        IEnumerable<PayrollSummary> Get();
        
        PayrollSummary GetEmployeePayrollSummary(int employeeId,int payrollId);
        IEnumerable<PayrollSummary> GetPayrollSummary(int payrollId);

        void Add(PayrollSummary payrollSummary);
        void Update(PayrollSummary payrollSummary);
        void Delete(int id);
        void ResetHours(int employeeId,int payrollId);
        bool Save();
    }
}
